(diff-beginning-of-file-and-junk): New function.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 22 Jul 2007 21:26:34 +0000 (21:26 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 22 Jul 2007 21:26:34 +0000 (21:26 +0000)
commitefce3f591add1b752079cd252ea210b71d9b961a
tree3e3576a3e28f94d84339db3d92e03f61056e2878
parent8bd4755a9fc8d49fb53c381426d1db2570cddc06
(diff-beginning-of-file-and-junk): New function.
(diff-file-kill): Use it.
(diff-beginning-of-hunk): Add arg `try-harder' using it.
(diff-restrict-view, diff-find-source-location, diff-refine-hunk):
Use it so they find the hunk even when we're in the file header.
lisp/ChangeLog
lisp/diff-mode.el